import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { router } from './router'
import { registerVMdEditor } from './plugins/v-md-editor'
import './styles/base.css'
import './styles/style.css'
import 'vant/es/toast/style'
import 'vant/es/dialog/style'
import 'vant/es/notify/style'
import 'vant/es/image-preview/style'
import App from './App.vue'

const pinia = createPinia()
const app = createApp(App)

registerVMdEditor(app)
app.use(pinia)
app.use(router)
app.mount('#app')
